package com.wjb.controller;

import com.wjb.pojo.dto.CouponDto;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.Date;
import java.util.UUID;

/**
 * @author : 王济彬
 * @date: 2025/5/28 - 05 - 28 - 23:09
 * @Description: com.wjb.controller
 * @version: 1.0
 */
@SpringBootTest
public class Test {
    @org.junit.jupiter.api.Test
    public void test() throws Exception {
        CouponController placeOrderController = new CouponController();
        String uuid = UUID.randomUUID().toString();
        System.out.println(uuid);
        System.out.println(new Date());
//        placeOrderController.createCoupon(new CouponDto(1,"0",new Date(),1));
//        System.out.println("测试成功，插入");
    }
}
